import {axios as http} from '../base/request.js'

export default {
    // 获取用户信息
    userInfo (params) {
        return http.get('/api/exuserInfo', params)
    },
    getLoginCode(params){
        return http.get(`/api/login`,{params:params})
    },
    isLogin(params){
        return http.get(`/api/isLogin`,{params:params})
    },
    wxOpenLogin(params){
        return http.get(`/api/wxOpenLogin`,{params:params})
    },

    setPhone(params){
        return http.post(`/api/setPhone`,params)
    },
    phoneLogin(params){
        return http.post(`/api/phoneLogin`,params)
    },


}

